#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPlainTextEdit>
#include <QLineEdit>
class MainWindow : public QMainWindow
{
  Q_OBJECT
public:
  MainWindow(QWidget *parent=0);

  //protected:

private slots:
  void newFile();
  void openFile();
  //  bool save();
  //  bool saveAs();
  //  void about();
  void test();

private:
  //QLineEdit *nameLine;
  //QTextEdit *addressText;
  //QAction *newAct;		//if not visited, no need defined here
  //QAction *openAct;
  QPlainTextEdit *textEdit;
  QLineEdit *nameLine;
  QTextEdit *contentText;
};


#endif
